<h1>Model Class Reference</h1>

<div class="table-wrapper">
    <table id="modelAttributesTable" class="model-attributes-table">
        <thead>
            <tr>
                <th>Method</th>
                <th>Description</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    <span class="feature-ref">count()</span>
                </td>
                <td>Counts the number of rows in a database table.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">count_rows()</span>
                </td>
                <td>Counts the number of rows based on a single condition.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">count_where()</span>
                </td>
                <td>Counts the number of rows based on custom conditions.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">delete()</span>
                </td>
                <td>Deletes a record from the database by its ID.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">describe_table()</span>
                </td>
                <td>Describes the structure of a database table.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">exec()</span>
                </td>
                <td>Executes a SQL statement (development use only).</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">get()</span>
                </td>
                <td>Retrieves rows from a database table with optional ordering, limit, and offset.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">get_all_tables()</span>
                </td>
                <td>Retrieves all table names from the database.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">get_max()</span>
                </td>
                <td>Retrieves the maximum 'id' value from the specified table.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">get_many_where()</span>
                </td>
                <td>Fetches multiple records based on a column value.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">get_one_where()</span>
                </td>
                <td>Fetches a single record based on a column value.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">get_where()</span>
                </td>
                <td>Fetches a single record by its ID.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">get_where_custom()</span>
                </td>
                <td>Fetches rows based on custom conditions with optional ordering, limit, and offset.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">get_where_in()</span>
                </td>
                <td>Fetches records where the column's value is within a specified array of values.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">insert()</span>
                </td>
                <td>Inserts a new record into the database and returns the new ID.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">insert_batch()</span>
                </td>
                <td>Inserts multiple records into the specified table in a batch.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">query()</span>
                </td>
                <td>Executes a custom SQL query.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">query_bind()</span>
                </td>
                <td>Executes a custom SQL query with parameter binding.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">resequence_ids()</span>
                </td>
                <td>Resequences the IDs of a specified table.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">table_exists()</span>
                </td>
                <td>Checks if a table exists in the database.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">update()</span>
                </td>
                <td>Updates a record in the database by its ID.</td>
            </tr>
            <tr>
                <td>
                    <span class="feature-ref">update_where()</span>
                </td>
                <td>Updates records based on a specific condition.</td>
            </tr>
        </tbody>
    </table>
</div>
